package pc30;

import java.util.Scanner;

public class J10Cricle {
	public static void main(String[]args){
		
		double radius,area,perim;
		double PI =3.14;
		
		Scanner sc = null;
		sc = new Scanner(System.in);
		System.out.println("반지름을 입력하세요");
		radius = sc.nextDouble();
	
		perim=getperim(PI,radius);
	   area= getarea(PI,radius);
		System.out.println(radius);
		System.out.println(area);
		System.out.println(perim);
		sc.close();
	}	//main
	private static double getarea(double PI, double radius) {
		double area;
		area=2*PI*radius;
		return area;
	}
	private static double getperim(double PI, double radius) {
		double perim;
		perim = PI * radius * radius;
		return perim;
	}



}
